image processing huffman decoding